package cn.fresh.xuanyuan.module.infra.dto;


import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


@Data
@ToString(callSuper = true)
public class MallColumnProductDto  {

    private Long id;

    @NotNull(message = "商品ID不能为空")
    private Long productId;

    private String productName;

    private String productImage;

    private BigDecimal salePrice;

    private BigDecimal payPrice;

    private Integer sort;

    private Integer type;

    private String activityType;

    @NotNull(message = "栏目ID不能为空")
    private Integer columnId;

}
